package com.shengqiang.zhenhuiTransfer.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;
import lombok.Data;

@Data
@TableName("t_account")
public class Account {

    @TableField("openId")
    @TableId
    private String openId;

    @TableField("realName")
    private String realName;

    @TableField("phone")
    private String phone;

    @TableField("licensePlate")
    private String licensePlate;

    @TableField("status")
    private int status;

    @TableField("role")
    private String role;

    @TableField(value = "createTime",fill = FieldFill.INSERT_UPDATE)
    private String createTime;
}
